// 模块：销售品设计/销售品基本信息/免填单
// Author：邓启明 2022/5/9
document.getElementById('offer_type').addEventListener('change', choiceoffertype)

function choiceoffertype() {
    var myselect = document.getElementById('offer_type');
    var index = myselect.selectedIndex;
    var selectvalue = myselect.options[index].value;
    document.getElementById('register').href = "offer-design/offertype-register?offer_type=" + selectvalue + '&offer_id=' + '0';
}